#ifndef ASSETS_H
#define ASSETS__H

#include "DbObjects.h"


typedef struct
{
    int           iID;
    char          sIp[128];
	char          sShowname[256];
	

} band_asset_info;      
class Assets : public DbObjects
{
    public:
    Assets(Database* pDb);
	virtual ~Assets();

    virtual BaseObject* Create();
    //BaseObject* Create(quint64 uiID);

    virtual bool SQLLoad(QString sSQLCondition);
    virtual bool SQLInsert(unsigned int uiID);
    virtual bool SQLInsert(BaseObject* pObject);
	
    virtual bool SQLModify(unsigned int uiID);
    virtual bool SQLModify(BaseObject* pObject);
    virtual bool SQLDelete(unsigned int uiID) ;
    virtual bool SQLDelete(BaseObject* pObject) ;
    virtual bool SQLClear();

};
#endif